; Music of Hammer Boy (1991) (Dinamic)
; Ripped by Megachur the 17/04/2009

	write "HAMMERBO.BIN"

music_date_rip	equ &1149
music_adr	equ &9b50
first_theme	equ 0
last_theme	equ 1	; 0 -> 1

	read "music_header_v1_0.asm"

	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#fc,#00,#00,#00
	db #00,#00,#f4,#00,#54,#7c,#00,#00
	db #f0,#b4,#78,#b4,#a8,#14,#78,#f0
	db #b4,#f0,#78,#f0,#f0,#f0,#78,#b4
	db #3c,#f0,#3c,#78,#f0,#f0,#78,#b4
	db #f0,#f0,#78,#78,#f0,#b4,#b4,#f0
	db #3c,#3c,#3c,#f0,#78,#f0,#f0,#f0
	db #b4,#78,#b4,#b4,#3c,#78,#3c,#3c
	db #82,#92,#24,#93,#a6,#93,#36,#8b
	db #d8,#8b,#7a,#8c,#9c,#8d,#1e,#8f
	db #00,#91,#d4,#8a,#36,#8b,#d8,#8b
	db #82,#c7,#82,#c7,#94,#c7,#b6,#c7
	db #ca,#94,#ae,#98,#ae,#98,#0c,#95
	db #6e,#95,#6e,#95,#f0,#98,#b2,#99
	db #74,#9a,#b2,#99,#f6,#96,#58,#97
	db #ba,#97,#58,#97,#e6,#df,#30,#96
	db #72,#96,#c4,#df,#b4,#96,#e8,#78
	db #00,#e4,#74,#01,#e4,#74,#02,#e4
	db #78,#03,#e4,#75,#04,#e4,#78,#03
	db #e4,#74,#02,#00,#00,#ff,#fc,#78
	db #80,#f8,#74,#81,#f8,#74,#82,#f8
	db #78,#83,#f8,#75,#84,#f8,#78,#83
	db #f8,#74,#82,#f8,#74,#ff
.l9c0e
	dw l9c12,l9ca8
.l9c12
	db #78,#00,#90,#00,#cc,#00,#01,#02
	db #03,#04,#05,#06,#08,#09,#0a,#04
	db #0b,#06,#0c,#0d,#0e,#04,#05,#06
	db #08,#09,#0a,#04,#0b,#06,#11,#12
	db #0e,#13,#14,#06,#15,#16,#0a,#17
	db #0b,#06,#19,#1a,#1b,#1d,#05,#1e
	db #20,#16,#21,#23,#0b,#1e,#25,#26
	db #27,#29,#2a,#1d,#2c,#2d,#2e,#2f
	db #30,#31,#25,#26,#19,#29,#2a,#1d
	db #2c,#2d,#2e,#2f,#30,#31,#25,#26
	db #36,#29,#2a,#38,#2c,#2d,#39,#2f
	db #30,#3b,#25,#26,#3d,#29,#2a,#38
	db #2c,#2d,#39,#2f,#30,#3b,#40,#41
	db #42,#13,#41,#06,#15,#41,#0a,#17
	db #41,#06,#44,#45,#0e,#13,#47,#06
	db #15,#48,#0a,#17,#4a,#06,#00,#07
	db #0f,#10,#18,#1c,#1f,#22,#24,#28
	db #2b,#32,#33,#34,#35,#37,#3a,#3c
.l9ca8 equ $ + 6
	db #3e,#3f,#43,#46,#49,#4b,#48,#00
	db #5e,#00,#82,#00,#4d,#4e,#4f,#50
	db #51,#52,#54,#55,#56,#58,#59,#5a
	db #50,#51,#52,#54,#55,#5c,#5e,#59
	db #5a,#60,#51,#52,#62,#55,#63,#65
	db #59,#66,#60,#51,#52,#62,#55,#63
	db #6b,#59,#66,#6c,#51,#52,#6d,#6e
	db #63,#5e,#59,#66,#60,#51,#52,#62
	db #55,#63,#74,#59,#75,#77,#51,#78
	db #7a,#55,#7b,#7d,#59,#75,#77,#51
	db #78,#7a,#55,#7b,#4c,#53,#57,#5b
	db #5d,#5f,#61,#64,#67,#68,#69,#6a
	db #6f,#70,#71,#72,#73,#76,#79,#7c
.l9d0a
	dw #7f7e,l9d4c,l9d69,l9d7a
	dw l9d8b,l9da8,l9dc5,l9de6
	dw l9dfb,l9e10,l9e25,l9e32
	dw l9e41,l9e50,l9e5f,l9e80
	dw l9e9d,l9ec2,l9eeb,l9eeb
	dw l9f1e,l9f51,l9f70,l9f91
	dw l9fac,l9fd1,la014,la03d
	dw la062,la077,la077,la0f4
.l9d4c equ $ + 2
	dw la115,l9f0e
	db #69,#9d,#69,#9b,#69,#9a,#68,#96
	db #67,#98,#67,#9b,#66,#9f,#66,#9b
	db #65,#99,#65,#96,#64,#92,#65,#8a
.l9d69 equ $ + 3
	db #63,#82,#63,#08,#e0,#fe,#e0,#fe
	db #e0,#fc,#e0,#fa,#e0,#f9,#e0,#f9
.l9d7a equ $ + 4
	db #e0,#f8,#e0,#f8,#08,#e5,#fe,#e5
	db #fe,#e5,#fc,#e5,#fa,#e5,#f9,#e5
.l9d8b equ $ + 5
	db #f9,#e5,#f8,#e5,#f8,#0e,#9f,#6f
	db #9d,#6f,#9b,#6f,#9a,#6e,#96,#6d
	db #98,#6d,#9b,#6c,#9f,#6c,#9b,#6b
	db #99,#6b,#96,#6a,#92,#6a,#8a,#69
.l9da8 equ $ + 2
	db #82,#69,#0e,#80,#6f,#80,#6f,#80
	db #6f,#80,#6f,#80,#6d,#80,#6d,#80
	db #6b,#80,#6b,#80,#6a,#80,#6a,#80
.l9dc5 equ $ + 7
	db #69,#80,#69,#80,#68,#80,#67,#90
	db #1e,#f0,#1f,#e0,#20,#d0,#21,#c0
	db #22,#b0,#23,#b0,#24,#a0,#25,#a0
	db #26,#90,#27,#90,#28,#80,#29,#80
	db #2a,#70,#2b,#70,#2c,#60,#2d,#60
.l9de6
	db #8a,#6b,#f3,#be,#f3,#83,#f4,#e5
	db #f4,#61,#f5,#bd,#f5,#53,#f6,#dc
.l9dfb equ $ + 5
	db #e6,#18,#d7,#b0,#c7,#8a,#00,#f2
	db #8b,#f2,#2d,#f3,#c5,#f3,#11,#f4
	db #7f,#f4,#3f,#f5,#83,#e5,#05,#d6
.l9e10 equ $ + 2
	db #55,#c6,#8a,#61,#f1,#c6,#f1,#7b
	db #f2,#e7,#f2,#5f,#f3,#af,#f3,#81
.l9e25 equ $ + 7
	db #f4,#db,#e4,#3f,#d5,#a3,#c5,#86
	db #32,#d0,#8a,#d0,#33,#d0,#8b,#d0
.l9e32 equ $ + 4
	db #32,#d0,#8a,#d0,#07,#90,#bf,#90
	db #bf,#90,#bf,#90,#bd,#90,#b9,#90
.l9e41 equ $ + 3
	db #b5,#90,#b1,#07,#90,#1f,#90,#1f
	db #90,#1f,#90,#1e,#90,#1a,#90,#15
.l9e50 equ $ + 2
	db #90,#12,#07,#50,#df,#50,#df,#50
	db #df,#50,#de,#50,#da,#50,#d5,#50
.l9e5f equ $ + 1
	db #d2,#90,#3c,#f0,#3e,#e0,#40,#d0
	db #42,#c0,#44,#b0,#46,#b0,#48,#a0
	db #4a,#a0,#4c,#90,#4e,#90,#50,#80
	db #52,#80,#54,#70,#56,#70,#58,#60
.l9e80 equ $ + 2
	db #5a,#60,#0e,#9f,#6b,#9d,#6b,#9b
	db #6b,#9a,#6a,#96,#69,#98,#69,#9b
	db #68,#9f,#68,#9b,#67,#99,#67,#96
.l9e9d equ $ + 7
	db #66,#92,#67,#8a,#65,#82,#66,#12
	db #5f,#8a,#5d,#7b,#5b,#6c,#59,#5d
	db #57,#4e,#55,#3f,#53,#2e,#51,#1e
	db #4f,#0d,#2d,#fd,#2b,#ed,#29,#dc
	db #27,#cc,#25,#bb,#23,#ab,#21,#9a
.l9ec2 equ $ + 4
	db #21,#89,#21,#78,#14,#3f,#2f,#3f
	db #3f,#3f,#4e,#3f,#5e,#3f,#6d,#3f
	db #7c,#3f,#8d,#3f,#9c,#3f,#ab,#3f
	db #bc,#3f,#cb,#3f,#da,#3f,#e9,#3f
	db #fa,#5f,#09,#3f,#b8,#3f,#c9,#3f
.l9eeb equ $ + 5
	db #d8,#3f,#e7,#3f,#f8,#19,#ff,#fe
	db #f9,#fe,#f3,#ff,#fb,#ff,#ff,#ff
	db #f9,#fe,#f1,#ff,#e7,#fe,#ef,#fd
	db #f8,#fe,#ff,#fd,#ff,#fc,#f7,#fb
	db #f0,#fc,#e7,#fb,#f2,#fa,#fa,#fb
.l9f0e
	db #fe,#fa,#fe,#fb,#fe,#fa,#fe,#fb
	db #fe,#fa,#fe,#f9,#fe,#f8,#fe,#f8
.l9f1e
	db #19,#ff,#fe,#f9,#fe,#f3,#ff,#fb
	db #ff,#ff,#ff,#f9,#fe,#f1,#ff,#e7
	db #fe,#ef,#fd,#f8,#fe,#ff,#fd,#ff
	db #fc,#f7,#fb,#f0,#fc,#e7,#fb,#f2
	db #fa,#fa,#fb,#fe,#fa,#fe,#fb,#fe
	db #fa,#fe,#fb,#fe,#fa,#fe,#f9,#fe
.l9f51 equ $ + 3
	db #f8,#fe,#f8,#0f,#3a,#2c,#3a,#3b
	db #3a,#4b,#3a,#5a,#3a,#6a,#3a,#79
	db #3a,#8a,#3a,#99,#3a,#a8,#3a,#b9
	db #3a,#c8,#3a,#d7,#3a,#e6,#3a,#f7
.l9f70 equ $ + 2
	db #5a,#06,#90,#3c,#f0,#3e,#e0,#40
	db #d0,#42,#c0,#44,#b0,#46,#b0,#48
	db #a0,#4a,#a0,#4c,#90,#4e,#90,#50
	db #80,#52,#80,#54,#70,#56,#70,#58
.l9f91 equ $ + 3
	db #60,#5a,#60,#0d,#59,#39,#57,#2a
	db #55,#1b,#53,#0b,#31,#fc,#2f,#ec
	db #2d,#dc,#2b,#cc,#29,#bb,#27,#ab
.l9fac equ $ + 6
	db #25,#9a,#23,#8a,#21,#79,#12,#21
	db #78,#21,#89,#21,#9a,#23,#ab,#25
	db #bc,#27,#cc,#29,#dd,#2b,#ed,#2d
	db #fd,#4f,#0e,#51,#1e,#53,#2f,#55
	db #3e,#57,#4d,#59,#5c,#5b,#6b,#5d
.l9fd1 equ $ + 3
	db #7a,#5f,#89,#21,#e1,#ff,#e1,#ff
	db #e4,#ff,#e7,#ff,#ea,#fe,#ed,#fe
	db #f0,#fe,#ed,#fe,#ea,#fd,#e7,#fd
	db #e4,#fd,#e3,#fc,#e1,#fc,#e3,#fb
	db #e7,#fb,#ea,#fa,#ed,#fa,#f0,#f9
	db #ed,#f9,#ea,#f8,#e7,#f8,#e4,#f8
	db #e1,#f8,#e4,#f7,#e7,#f7,#ea,#f7
	db #ed,#f7,#f0,#f6,#ed,#f6,#ea,#f6
.la014 equ $ + 6
	db #e7,#f6,#e4,#f5,#e1,#f5,#94,#64
	db #b0,#c8,#c0,#96,#d0,#2c,#f1,#64
	db #e0,#c8,#d0,#96,#c0,#2c,#b1,#64
	db #a0,#c8,#a0,#96,#90,#2c,#91,#64
	db #80,#c8,#80,#96,#80,#2c,#71,#64
.la03d equ $ + 7
	db #70,#c8,#70,#96,#60,#2c,#61,#12
	db #5f,#8a,#5d,#7b,#5b,#6c,#59,#5d
	db #57,#4e,#55,#3f,#53,#2e,#51,#1e
	db #4f,#0d,#2d,#fd,#2b,#ed,#29,#dc
	db #27,#cc,#25,#bb,#23,#ab,#21,#9a
.la062 equ $ + 4
	db #21,#89,#21,#78,#8a,#1e,#e0,#1f
	db #d0,#20,#c0,#21,#b0,#22,#a0,#23
	db #a0,#24,#90,#25,#90,#26,#80,#27
.la077 equ $ + 1
	db #80,#be,#78,#f5,#bc,#f2,#14,#f5
	db #8a,#f2,#b0,#f4,#58,#f2,#4c,#f4
	db #26,#f2,#e8,#f3,#f4,#f1,#84,#f3
	db #c2,#f1,#20,#f3,#90,#f1,#bc,#f2
	db #5e,#f1,#58,#f2,#2c,#f1,#f4,#f1
	db #fa,#f0,#90,#f1,#c8,#f0,#2c,#f1
	db #96,#f0,#c8,#f0,#64,#f0,#64,#f0
	db #32,#f0,#e8,#b3,#f4,#b1,#84,#b3
	db #c2,#b1,#20,#b3,#90,#b1,#bc,#b2
	db #5e,#b1,#58,#b2,#2c,#b1,#f4,#b1
	db #fa,#b0,#90,#b1,#c8,#b0,#2c,#b1
	db #96,#b0,#c8,#b0,#64,#b0,#64,#b0
	db #20,#93,#90,#91,#bc,#92,#5e,#91
	db #58,#92,#2c,#91,#f4,#91,#fa,#80
	db #90,#81,#c8,#80,#2c,#81,#96,#70
.la0f4 equ $ + 6
	db #c8,#70,#64,#70,#64,#70,#10,#ff
	db #f8,#fd,#f9,#fb,#fa,#f9,#fb,#f7
	db #fc,#f5,#fd,#f3,#fc,#f1,#fc,#ef
	db #fb,#ed,#fb,#eb,#fb,#e9,#fa,#e7
.la115 equ $ + 7
	db #fa,#e5,#f9,#e3,#f9,#e1,#f8,#9b
	db #b8,#db,#dc,#d5,#b8,#db,#dc,#d5
	db #54,#db,#aa,#d5,#f0,#da,#78,#d5
	db #8c,#ca,#46,#c5,#28,#ca,#14,#c5
	db #c4,#c9,#e2,#b4,#60,#b9,#b0,#b4
	db #b8,#bb,#54,#bb,#aa,#a5,#f0,#aa
	db #78,#a5,#8c,#aa,#46,#95,#28,#9a
	db #14,#95,#c4,#89,#e2,#84
	
.la14c
	db #0f,#0f,#0e,#0d,#0c,#0c,#0b,#0a
	db #0c,#0b,#0a,#09,#08,#08,#07,#06
	db #0a,#09,#08,#07,#06,#06,#05,#04
	db #09,#0a,#0c,#0c,#0c,#0a,#0a,#09
	db #0d,#0c,#0b,#0a,#0a,#09,#08,#07
	db #0b,#0c,#0e,#0e,#0e,#0c,#0c,#0b
	db #08,#09,#0b,#0b,#0b,#09,#09,#08
	db #0f,#0f,#0f,#0e,#0d,#0c,#0b,#0a
	db #07,#06,#05,#04,#04,#03,#03,#02
	db #0e,#0e,#0d,#0b,#0b,#09,#07,#07
.la19c
	db #00,#00,#00,#00,#00,#0f,#00,#00
	db #0c,#02,#04,#08,#10,#20,#00,#00
	db #f8,#00,#00,#08,#00,#f8,#08,#00
	db #00,#08,#10,#20,#20,#10,#08,#00
	db #18,#fe,#fc,#f8,#00,#f8,#fc,#fe
	db #18,#f4,#f4,#0c,#0c,#f4,#f4,#0c
	db #0c,#f4,#f4,#0c,#f4,#0c,#0c,#f4
	db #00,#0c,#0c,#0c,#00,#00,#0c,#f4
	db #0c,#01,#01,#ff,#ff,#ff,#01,#00
	db #30,#f4,#f4,#00,#00,#01,#ff,#ff
.la1ec
	db #ce,#5d,#5a,#22,#cd,#a2,#ff,#ff
	db #ff,#d1,#07,#d0,#54,#0a,#40,#43
	db #fa,#7f,#c0,#04,#10,#40,#0f,#ff
	db #44,#04,#00,#00,#00,#00,#fd,#0a
	db #7f,#01,#0a,#7f,#fd,#04,#00,#41
	db #00,#3f,#22,#00,#00,#00,#00,#00
	db #ff,#ff,#ff,#6d,#07,#d0,#6c,#0a
	db #40,#43,#fa,#7f,#6c,#04,#10,#40
	db #0f,#ff,#fd,#0a,#7f,#09,#0a,#7f
	db #ff,#ff,#ff,#55,#07,#d0,#4c,#0a
	db #40,#43,#fa,#7f,#54,#04,#10,#40
	db #0f,#ff,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#40,#54,#72
	db #47,#2c,#53,#43,#4c,#0a,#40,#41
	db #0a,#7f,#38,#23,#43,#24,#50,#89
	db #fc,#0a,#7f,#01,#0a,#7f,#3c,#33
	db #43,#2c,#53,#43,#6c,#0a,#40,#40
	db #0a,#7f,#24,#72,#47,#2c,#53,#43
	db #00,#00,#00,#00,#00,#36,#49,#04
	db #00,#05,#07,#d0,#4d,#0a,#50,#40
	db #0a,#7f,#55,#04,#00,#34,#03,#90
	db #10,#88,#10,#22,#62,#0c,#03,#f7
	db #10,#7d,#07,#90,#00,#04,#00,#00
	db #00,#00,#c6,#81,#88,#62,#d8,#49
	db #55,#04,#80,#05,#07,#50,#51,#04
	db #00,#0c,#02,#50,#88,#90,#89,#88
	db #33,#1a,#00,#06,#50,#49,#04,#90
	db #06,#21,#89,#1d,#9a,#22,#45,#04
	db #00,#35,#07,#90,#4d,#0a,#7f,#6d
	db #0a,#7f,#d1,#04,#00,#05,#07,#d0
	db #24,#22,#04,#88,#28,#00,#01,#00
	db #3f,#ff,#ff,#ff,#54,#0a,#7f,#01
	db #0a,#7f,#02,#10,#88,#10,#88,#12
	db #51,#04,#00,#39,#07,#90,#6d,#0a
	db #7f,#5d,#0a,#7f,#55,#04,#00,#09
	db #07,#90,#41,#04,#10,#49,#04,#90
	db #64,#0a,#7f,#09,#0a,#7f,#03,#ff
	db #ff,#ff,#ff,#ff,#21,#22,#62,#62
	db #18,#90,#88,#10,#88,#12,#20,#a0
	db #00,#08,#42,#20,#42,#20,#48,#84
	db #89,#89,#88,#62,#48,#33,#43,#38
	db #23,#43,#46,#21,#22,#18,#8a,#33
	db #24,#72,#47,#9c,#89,#61,#9c,#30
	db #8e,#0c,#d0,#8e,#21,#38,#84,#88
	db #62,#48,#34,#30,#8e,#14,#b0,#8e
	db #98,#98,#86,#24,#88,#48,#08,#33
	db #43,#38,#23,#43,#86,#22,#8c,#c8
	db #4e,#21,#22,#18,#92,#26,#26,#21
	db #44,#72,#47,#2c,#53,#43,#ff,#fa
	db #7f,#ff,#fa,#7f,#c4,#04,#10,#40
	db #0f,#ff,#8b,#61,#f3,#68,#80,#00
	db #38,#72,#47,#2c,#53,#43,#4d,#0a
	db #40,#43,#fa,#7f,#00,#02,#00,#0a
	db #08,#00,#fd,#0a,#7f,#01,#0a,#40
	db #6d,#0a,#40,#01,#0a,#7f,#88,#00
	db #0a,#20,#08,#a9,#fd,#0a,#50,#49
	db #0a,#7f,#00,#01,#ff,#ff,#ff,#ff
	db #33,#9b,#34,#b6,#18,#a2,#ff,#60
	db #8e,#43,#ff,#d0,#cd,#05,#eb,#25
	db #04,#10,#cd,#04,#00,#30,#20,#90
	db #08,#e4,#3f,#40,#e0,#82,#fe,#b4
	db #02,#39,#04,#ab,#40,#03,#02,#08
	db #e0,#81,#08,#81,#02,#21,#08,#84
	db #41,#e3,#90,#00,#0f,#ff,#01,#06
	db #50,#02,#bf,#ff,#41,#f3,#90,#43
	db #f6,#50,#08,#82,#89,#22,#01,#00
	db #fd,#20,#8e,#43,#ff,#d0,#55,#05
	db #eb,#25,#04,#10,#c1,#04,#00,#30
	db #20,#90,#88,#10,#22,#10,#88,#40
	db #41,#f3,#90,#03,#f6,#50,#88,#02
	db #40,#21,#08,#82,#6d,#04,#10,#ff
	db #f4,#10,#82,#42,#10,#88,#a0,#92
	db #41,#0f,#ff,#41,#04,#12,#12,#22
	db #48,#48,#82,#42,#41,#06,#50,#41
	db #04,#10,#41,#f3,#90,#03,#ff,#ff
	db #10,#8b,#34,#28,#d9,#02,#55,#04
	db #10,#ff,#f4,#10,#49,#04,#00,#30
	db #20,#90,#10,#88,#28,#24,#21,#08
	db #8a,#09,#21,#22,#24,#84,#88,#24
	db #21,#08,#b3,#43,#08,#33,#62,#60
	db #88,#00,#cc,#04,#00,#74,#10,#80
	db #40,#07,#41,#08,#e0,#82,#41,#e3
	db #80,#01,#00,#00,#01,#06,#50,#02
	db #bf,#eb,#00,#00,#00,#00,#36,#40
	db #84,#22,#0a,#09,#08,#42,#22,#82
	db #48,#48,#89,#21,#22,#09,#08,#42
	db #2c,#d0,#c2,#33,#42,#48,#48,#62
	db #55,#04,#1f,#04,#20,#90,#49,#04
	db #1e,#08,#10,#90,#22,#92,#40,#00
	db #00,#00,#44,#f4,#11,#3d,#07,#8e
	db #48,#e4,#12,#39,#07,#8f,#00,#00
	db #00,#02,#18,#62,#41,#f0,#10,#78
	db #24,#10,#41,#e0,#10,#78,#24,#10
	db #8a,#42,#48,#48,#62,#22,#45,#04
	db #1f,#04,#20,#90,#92,#40,#00,#00
	db #00,#00,#00,#00,#02,#18,#62,#88
	db #ff,#ff,#ff,#ff,#ff,#ff,#cd,#00
	db #2c,#fd,#b1,#50,#dc,#f0,#42,#38
	db #20,#50,#33,#97,#34,#88,#22,#00
	db #02,#cf,#db,#0d,#00,#2c,#01,#04
	db #14,#39,#07,#8f,#fd,#d1,#50,#02
	db #cf,#ff,#41,#e0,#d0,#7c,#e4,#00
	db #41,#00,#2c,#fd,#b1,#50,#40,#f0
	db #42,#38,#20,#50,#dc,#20,#4f,#41
	db #e0,#02,#4c,#20,#8e,#41,#e0,#02
	db #00,#07,#34,#02,#20,#00,#04,#f4
	db #1e,#14,#20,#4f,#08,#e4,#1e,#14
	db #20,#8e,#41,#e3,#90,#7c,#e4,#00
	db #41,#e3,#d0,#78,#e4,#00,#40,#20
	db #4f,#41,#e0,#02,#40,#20,#8e,#41
	db #e0,#02,#fd,#d1,#50,#02,#cf,#ec
	db #00,#00,#00,#00,#00,#09,#ff,#ff
	db #ff,#ff,#fc,#c0,#75,#04,#cf,#41
	db #33,#90,#80,#03,#a8,#23,#10,#00
	db #40,#04,#00,#48,#04,#00,#7c,#e4
	db #00,#55,#00,#10,#40,#04,#40,#40
	db #04,#00,#40,#07,#90,#7c,#e4,#00
	db #98,#88,#2a,#02,#62,#20,#ff,#ff
	db #ff,#ff,#f7,#40,#41,#04,#cf,#41
	db #33,#90,#00,#02,#a0,#8c,#40,#02
	db #62,#20,#a8,#09,#88,#82,#4c,#00
	db #10,#00,#00,#10,#a2,#62,#a2,#28
	db #d0,#a8,#00,#00,#00,#74,#00,#10
	db #9a,#68,#88,#aa,#a8,#9a,#01,#05
	db #c0,#40,#04,#00,#68,#a2,#2a,#26
	db #2a,#22,#70,#00,#10,#00,#00,#10
	db #8d,#0a,#89,#a6,#88,#8a,#aa,#89
	db #a6,#8a,#20,#07,#41,#0a,#69,#af
	db #fa,#50,#ff,#ff,#d0,#ff,#ff,#ff
	db #42,#94,#10,#ad,#34,#29,#49,#0a
	db #69,#af,#fa,#50,#ff,#ff,#c5,#ff
	db #ff,#ff,#ce,#62,#ce,#40,#00,#00
	db #42,#94,#10,#ad,#e4,#29,#fc,#0f
	db #ff,#ff,#ff,#ff,#75,#0a,#69,#af
	db #fa,#50,#ff,#ff,#cb,#ff,#ff,#ff
	db #00,#00,#00,#00,#01,#d4,#dd,#04
	db #3f,#5d,#04,#3f,#48,#8a,#21,#8a
	db #82,#12,#2a,#08,#48,#a8,#21,#22
	db #41,#04,#1f,#41,#07,#d0,#6d,#00
	db #10,#ff,#ff,#ff,#48,#8a,#02,#12
	db #22,#88,#ff,#f5,#50,#41,#e4,#10
	db #48,#8a,#00,#02,#60,#88,#ff,#fc
	db #c0,#01,#00,#00,#40,#00,#19,#ff
	db #ff,#ff,#28,#29,#00,#08,#48,#8a
	db #75,#04,#3f,#5d,#04,#3f,#21,#8a
	db #82,#12,#2a,#08,#48,#a8,#21,#22
	db #48,#8a,#02,#12,#22,#88,#48,#8a
	db #c0,#00,#00,#01,#00,#00,#5c,#04
	db #00,#70,#04,#00,#39,#82,#20,#00
	db #00,#00,#48,#00,#00,#40,#00,#00
	db #78,#00,#00,#40,#00,#00,#74,#00
	db #00,#01,#00,#00,#00,#00,#02,#72
	db #12,#29,#c1,#04,#3f,#41,#04,#3f
	db #bf,#ff,#ff,#ff,#fb,#ff,#0a,#00
	db #00,#00,#03,#34,#41,#04,#3f,#41
	db #04,#81,#22,#28,#92,#20,#0a,#24
	db #41,#04,#10,#48,#04,#12,#22,#00
	db #00,#a0,#92,#20,#41,#06,#50,#41
	db #04,#81,#00,#a2,#42,#20,#00,#00
	db #65,#04,#3f,#5d,#07,#0f,#28,#92
	db #20,#0a,#24,#22,#41,#07,#90,#48
	db #14,#10,#41,#04,#10,#7d,#07,#83
	db #00,#00,#a0,#92,#20,#00,#41,#04
	db #90,#75,#04,#50,#a2,#42,#20,#00
	db #00,#28,#75,#04,#3f,#41,#04,#81
	db #92,#20,#0a,#24,#22,#00,#00,#a0
	db #92,#20,#00,#a2,#42,#20,#00,#00
	db #28,#92,#20,#0a,#24,#22,#00,#00
	db #a0,#92,#20,#00,#a2,#42,#20,#00
.la739 equ $ + 5
.la738 equ $ + 4
	db #00,#1f,#ff,#ff,#00,#07
.la73e equ $ + 4
.la73d equ $ + 3
.la73c equ $ + 2
.la73b equ $ + 1
.la73a
	db #08,#ff,#ff,#00,#00
;
.play_music
;
	ld hl,labb3
	ld de,labb4
	ld (hl),#00
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ld a,#38
	ld (labba),a
	call la83f
	call la7c6
	ld hl,labc0
	ld b,#0e
.la771
	push bc
	ld a,b
	dec a
	ld c,(hl)
	dec hl
	ld b,#f4
	out (c),a
	ld b,#f6
	in a,(c)
	or #c0
	out (c),a
	and #3f
	out (c),a
	ld b,#f4
	out (c),c
	ld b,#f6
	ld c,a
	or #80
	out (c),a
	out (c),c
	pop bc
	djnz la771
	ret
.la797
	push af
	call la7b3
	ld a,c
	ld (la73d),a
	ld a,#ff
	ld (la73e),a
	ld (la738),a
.la7a7
	ld a,(la73e)
	inc a
	defs 2,0 ;jr z,la7a7
	ld a,b
	ld (la73d),a
	pop af
	ret
.la7b3
	xor a
	ld (la738),a
	dec a
	ld (la73b),a
	ld (la73c),a
	ld a,(la73a)
	dec a
	ld (la739),a
	ret
.la7c6
	ld ix,labc3
	ld b,#08
.la7cc
	push bc
	call la7d8
	inc ix
	inc ix
	pop bc
	djnz la7cc
	ret
.la7d8
	ld a,(ix+#00)
	inc a
	ret z
	ld e,(ix+#01)
	ld hl,l9d0a
	call la8e1
	ld a,(hl)
	ld d,#00
	add hl,de
	add hl,de
	inc hl
	ld d,a
	and #7f
	inc e
	cp e
	jr nz,la7f7
	ld (ix+#00),#ff
.la7f7
	ld (ix+#01),e
	call la8e4
	rl d
	ex de,hl
	ld hl,labbd
	jr nc,la814
	ld a,d
	rrca
	rrca
	rrca
	rrca
	and #0f
	cp (hl)
	ret c
	ld (hl),a
	ld (labb7),de
	ret
.la814
	ld a,d
	and #0f
	dec hl
	cp (hl)
	ret c
	ld (hl),a
	ld a,e
	ld (labb9),a
	rrca
	and #70
	ld e,a
	ld a,d
	rrca
	rrca
	rrca
	rrca
	and #0f
	or e
	ld e,a
	call la8de
	ld (labb5),hl
	ld a,e
	cp #7f
	ld a,#2a
	jr z,la83b
	ld a,#28
.la83b
	ld (labba),a
	ret
.la83f
	ld a,(la738)
	and a
	ret z
	ld hl,la739
	ld a,(la73a)
	inc (hl)
	cp (hl)
	call z,la941
	ld ix,laab7
	ld iy,labb3
	ld b,#03
.la859
	bit 7,(ix+#00)
	jr nz,la8b9
	ld a,#0b
	sub b
	ld (la88f),a
	add a
	sub #10
	ld (la8b5),a
	inc a
	ld (la8b8),a
	ld a,(ix+#01)
	cp #0a
	jr nc,la88d
	add a
	add a
	add a
	ld d,a
	ld hl,la14c
	ld a,(la73a)
	cp #09
	ld a,(la739)
	jr c,la888
	rra
.la888
	add d
	call la8ea
	ld a,(hl)
.la88f equ $ + 2
.la88d
	ld (iy+#00),a
	ld a,(ix+#02)
	add a
	add a
	add a
	ld d,a
	ld hl,la19c
	ld a,(la739)
	and #07
	add d
	call la8ea
	ld a,(hl)
	bit 7,(ix+#03)
	jr z,la8c1
	add (ix+#00)
	ld (ix+#00),a
	call la8de
.la8b5 equ $ + 2
.la8b3
	ld (iy+#00),l
.la8b8 equ $ + 2
	ld (iy+#00),h
.la8b9
	ld de,#000c
	add ix,de
	djnz la859
	ret
.la8c1
	ld d,a
	ld a,(ix+#00)
	call la8de
	ld a,d
	add a
	add a
	ld d,h
	ld e,l
.la8cd
	bit 3,d
	jr nz,la8d9
	srl a
	rl e
	rl d
	jr la8cd
.la8d9
	call la8ea
	jr la8b3
.la8de
	ld hl,lab0b
.la8e1
	call la8e9
.la8e4
	ld a,(hl)
	inc hl
	ld h,(hl)
	ld l,a
	ret
.la8e9
	add a
.la8ea
	add l
	ld l,a
	adc h
	sub l
	ld h,a
	ret
.la8f0
	ld hl,laab7
	ld de,laab8
	ld bc,#0023
	ld (hl),#00
	ldir
	ld a,(la73d)
	ld hl,l9c0e
	call la8e1
	push hl
	pop ix
	ld bc,#0006
	add hl,bc
	ld (laadb),hl
	ex de,hl
	ld l,(ix+#00)
	ld h,(ix+#01)
	ld (la96f),hl
	add hl,de
	ld (laae0),hl
	ld l,(ix+#02)
	ld h,(ix+#03)
	add hl,de
	ld (laadd),hl
	ld l,(ix+#04)
	ld h,(ix+#05)
	add hl,de
	ld (laae2),hl
	xor a
	ld (laadf),a
	ld (laae4),a
	ld (laae5),a
	ld (la976),a
	jr la97a
.la941
	ld a,(la73e)
	inc a
	jr nz,la951
	ld (la73e),a
	ld de,#ffff
	ld (la73b),de
.la951
	ld (hl),#00
	ld hl,(la73b)
	inc hl
.la957
	ld (la73b),hl
	ld a,h
	or l
	jr z,la8f0
	srl h
	rr l
	srl h
	rr l
	srl h
	rr l
	ld d,h
	ld e,l
	add hl,hl
	add hl,de
.la96f equ $ + 1
	ld de,#0000
	sbc hl,de
	jr z,la957
.la976 equ $ + 1
	ld a,#00
	inc a
	and #07
.la97a
	jr nz,la993
	ld iy,laadb
	ld hl,laabd
	call laa79
	ld hl,laac9
	call laa79
	ld hl,laad5
	call laa79
	xor a
.la993
	ld (la976),a
	ld ix,laab7
	ld b,#03
.la99c
	push bc
	push ix
	ld a,b
	rra
	ld a,#30
	jr nc,la9a6
	xor a
.la9a6
	ld (la9d6),a
	pop hl
	ld bc,#000b
	add hl,bc
	ld bc,#0600
.la9b1
	call laaa1
	djnz la9b1
	ld a,c
	bit 5,a
	jr nz,laa1d
	and #0f
	cp #09
	jr c,la9c3
	sub #10
.la9c3
	add (ix+#05)
	ld b,#30
	cp b
	jr c,la9d0
	add b
	jr c,la9d0
	sub #60
.la9d0
	ld (ix+#05),a
	add #0c
.la9d6 equ $ + 1
	cp #00
	jr c,la9db
	add #0c
.la9db
	ld (ix+#00),a
	bit 4,c
	jr z,laa14
	ld b,#02
	call laa53
	cp #01
	jr c,laa08
	jr z,laa48
	cp #02
	jr z,laa00
	ld b,#04
	call laa53
	ld (ix+#02),a
	cp #05
	ccf
	sbc a
	ld (ix+#03),a
.laa00
	ld b,#04
	call laa53
	ld (ix+#04),a
.laa08
	ld l,(ix+#01)
	ld h,(ix+#04)
	ld (ix+#04),l
	ld (ix+#01),h
.laa14
	ld bc,#000c
	add ix,bc
	pop bc
	djnz la99c
	ret
.laa1d
	bit 3,a
	jr nz,laa33
	and #07
	ld d,a
	ld b,#02
	push bc
	call laa53
	pop bc
	add a
	add a
	add a
	or d
	add #09
	jr la9c3
.laa33
	rra
	xor c
	and #08
	xor c
	and #0f
	cp #0f
	jr z,laa41
	call laaec
.laa41
	ld a,#80
	ld (ix+#00),a
	jr laa14
.laa48
	ld a,(ix+#01)
	dec a
	and #0f
	ld (ix+#01),a
	jr laa14
.laa53
	push hl
	ld c,#00
	ld a,(laae5)
.laa59
	and a
	jr z,laa6b
	dec a
.laa5d
	ld hl,laaeb
	call laaa1
	djnz laa59
	ld (laae5),a
	ld a,c
	pop hl
	ret
.laa6b
	ld iy,laae0
	ld hl,laae6
	call laa79
	ld a,#2f
	jr laa5d
.laa79
	push bc
	push de
	ld e,(iy+#00)
	ld d,(iy+#01)
	ld a,(de)
	inc de
	ld (iy+#00),e
	ld (iy+#01),d
	ld c,a
	ld b,#00
	sla c
	rl b
	ex de,hl
	ld h,b
	ld l,c
	add hl,hl
	add hl,bc
	ld bc,la1ec
	add hl,bc
	ld bc,#0006
	ldir
	pop de
	pop bc
	ret
.laaa1
	push hl
	rl (hl)
	dec hl
	rl (hl)
	dec hl
	rl (hl)
	dec hl
	rl (hl)
	dec hl
	rl (hl)
	dec hl
	rl (hl)
	rl c
	pop hl
	ret
.laabd equ $ + 6
.laab8 equ $ + 1
.laab7
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
.laac9 equ $ + 2
	db #00,#00,#00,#00,#00,#00,#00,#00
.laad5 equ $ + 6
	db #00,#00,#00,#00,#00,#00,#00,#00
.laadd equ $ + 6
.laadb equ $ + 4
	db #00,#00,#00,#00,#00,#00,#00,#00
.laae6 equ $ + 7
.laae5 equ $ + 6
.laae4 equ $ + 5
.laae2 equ $ + 3
.laae0 equ $ + 1
.laadf
	db #00,#00,#00,#00,#00,#00,#00,#00
.laaeb equ $ + 4
	db #00,#00,#00,#00,#00
.laaec
	ld (labc1),a
	ld a,#ff
	ld (labd3),a
	ld hl,labc3
	ld bc,#0002
.laafa
	ld a,(hl)
	inc a
	jr z,lab04
	inc hl
	inc hl
	inc c
	inc c
	jr laafa
.lab04
	ld d,h
	ld e,l
	inc de
	dec hl
	lddr
	ret
.lab0b
	dw #0777,#070c,#06a7,#0647
	dw #05ed,#0598,#0547,#04fc
	dw #04b4,#0470,#0431,#03f4
	dw #03bc,#0386,#0353,#0324
	dw #02f6,#02cc,#02a4,#027e
	dw #025a,#0238,#0218,#01fa
	dw #01de,#01c3,#01aa,#0192
	dw #017b,#0166,#0152,#013f
	dw #012d,#011c,#010c,#00fd
	dw #00ef,#00e1,#00d5,#00c9
	dw #00be,#00b3,#00a9,#009f
	dw #0096,#008e,#0086,#007f
	dw #0077,#0071,#006a,#0064
	dw #005f,#0059,#0054,#0050
	dw #004b,#0047,#0043,#003f
	dw #003c,#0038,#0035,#0032
	dw #002f,#002d,#002a,#0028
	dw #0026,#0024,#0022,#0020
	dw #001e,#001c,#001b,#0019
	dw #0018,#0016,#0015,#0014
	dw #0013,#0012,#0011,#0010
.labba equ $ + 7
.labb9 equ $ + 6
.labb7 equ $ + 4
.labb5 equ $ + 2
.labb4 equ $ + 1
.labb3
	db #00,#00,#00,#00,#00,#00,#00,#38
.labc1 equ $ + 6
.labc0 equ $ + 5
.labbd equ $ + 2
	db #00,#00,#00,#00,#00,#00,#00,#00
.labc3
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
.labd3
	db #ff,#00
	
;
.init_music ; added by Megachur
;
;org #ac86
	push af
	call la7b3
;ld a,#08
;ld (la73a),a
;dec a
;ld (la739),a
;...
	pop af
	ld b,a
	ld c,a
	jp la797
;
.game_name
	db "Hammer Boy",0
.game_year
	db "1991",0
.game_publisher
	db "Dinamic",0
.music_author
	db "",0
.music_comment
	db "",0

	read "music_end_v1_0.asm"
